<%--
  Created by IntelliJ IDEA.
  User: Blank
  Date: 2020/10/22
  Time: 21:39
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<html>
<link href="${pageContext.request.contextPath}/static/css/bootstrap.min.css" rel="stylesheet">
<link href="${pageContext.request.contextPath}/static/css/bootstrap-theme.css" rel="stylesheet">
<script src="${pageContext.request.contextPath}/static/js/jquery-3.3.1.min.js" type="text/javascript"></script>
<script  src="${pageContext.request.contextPath}/static/js/jquery-3.3.1.min.js" type="text/javascript"></script>
<head>
    <title>更新学生信息页面</title>
</head>
<style>
    body{
        background-color: #f6f6fa;
    }
    #myForm{
        margin-top:80px;
        width: 500px;
        height: 300px;
        margin-left:360px;

    }
    h3{
        text-align: center;
        color:slategray;
        font-family: Bahnschrift, sans-serif;
        margin-bottom: 40px;
        font-weight: bold;
    }
    #submit a{
        color: #fff;
    }
    #submit{
        margin-left:220px;
    }
</style>
<body>
<div class="container">
    <form action="afterUpdate" method="post" class="form-horizontal" id="myForm" role="form">
        <h3>学生信息添加表项</h3>
        <div class="form-group">
            <label  class="col-sm-2 control-label">学号</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" name="sid" placeholder="请输入学号"
                       style="margin-bottom: 10px;">
            </div>
        </div>

        <div class="form-group">
            <label class="col-sm-2 control-label">姓名</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" name="sName" placeholder="请输入姓名" style="margin-bottom: 10px;">
            </div>
        </div>

        <div class="form-group">
            <label class="col-sm-2 control-label">性别</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" name="gender" placeholder="请输入性别"
                       style="margin-bottom: 10px;">
            </div>
            </label>

        </div>

        <div class="form-group">
            <label  class="col-sm-2 control-label">出生日期</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" name="sdate" placeholder="请输入出生日期:XXXX-YY-zz"
                       style="margin-bottom: 10px;">
            </div>
        </div>

        <div class="form-group">
            <label class="col-sm-2 control-label">邮箱</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" name="email" placeholder="请输入邮箱" style="margin-bottom: 10px;">
            </div>
        </div>

        <div class="form-group">
            <label  class="col-sm-2 control-label">备注</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" name="remark" placeholder="请输入相应的备注"
                       style="margin-bottom: 10px;">
            </div>
        </div>

        <div class="form-group">
            <button type="submit" id="submit" class="btn btn-info"><a>提交</a></button>
        </div>
    </form>


</div>
</body>
</html>
